import request from '@/utils/request';

/*

Author: factoryOpen
Date: 2025-06-01
Version: 1.0.0-draft.0
Web URL: www.factoryopen.net

*/


// 查询客户项目预配列表
export function listProject(query) {
    return request({
        url: '/ord/project/list',
        method: 'get',
        params: query
    })
}

// 查询客户项目预配详细
export function getProject(id) {
    return request({
        url: '/ord/project/' + id,
        method: 'get'
    })
}

// 新增客户项目预配
export function addProject(data) {
    return request({
        url: '/ord/project',
        method: 'post',
        data: data
    })
}

// 修改客户项目预配
export function updateProject(data) {
    return request({
        url: '/ord/project',
        method: 'put',
        data: data
    })
}

// 删除客户项目预配
export function delProject(id) {
    return request({
        url: '/ord/project/' + id,
        method: 'delete'
    })
}



